package se.sll.service.catalogue.common.provider;

import javax.ws.rs.core.Response;
import javax.ws.rs.ext.Provider;
import se.sll.service.catalogue.common.exception.NotAuthorizedException;

/**
 * JAX-RS exception mapper for NotAuthorizedException.
 * @author Christer Palm, Nogui
 */
@Provider
public class NotAuthorizedExceptionHandler extends ServiceErrorCodeExceptionHandler<NotAuthorizedException> {

    public NotAuthorizedExceptionHandler() {
        super(Response.Status.UNAUTHORIZED);
    }
}
